Xbasic

StringDictionary.REMOVE Function

Syntax

Remove as v(name as c)

Arguments

name

The key value of an entry in a StringDictionary list.

Description

Remove a key of a value.

Discussion

The .REMOVE() method removes an entry from a StringDictionary list.

Example

dim sd as StringDictionary
sd.set("abc", "3")
? sd.exists("abc")
= .T.
sd.remove("abc")
? sd.exists("abc")
= .F.

See Also